<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>我的笔记</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.css">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css"/>
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css" title="docsify-darklight-theme" type="text/css"/>
</head>

<body>
  <div id="app"></div>
  <script>

    window.$docsify = {
      name: '全部笔记',
      repo: '',
      basePath: 'notes/',
      coverpage: true,
      mergeNavbar: true,
      ext: '.md',
      loadSidebar: true,
      loadNavbar: true,
      subMaxLevel: 3,
      onlyCover: true,
      auto2top: true,
      relativePath: true,
      search: {
        placeholder: '搜索',
        noData: '找不到结果',
      },
      plugins: [
	(hook, vm) => {
	  hook.ready(() => {
              mermaid.initialize({startOnLoad: false});
	  });
	  hook.doneEach(() => {
	    mermaid.init(undefined, '.mermaid');
	  });
	}
      ],
      markdown: {
	renderer: {
	  code: (code, lang) => {
	    if (lang == 'mermaid') {
	      return '<div class=\'mermaid\'>' + code + '</div>';
            }
	    const hl = Prism.highlight(code, Prism.languages[lang] || Prism.languages.markup);
	    return '<pre v-pre data-lang=\'' + lang + '\'><code class=\'lang-' + lang + '\'>' + hl + '</code></pre>';
          }
	}
      },
      darklightTheme: {
        defaultTheme: 'light'
      }
    }
  </script>
  <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
  <script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.min.js"></script>
  <script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-java.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-properties.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-nginx.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-ini.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-yaml.min.js"></script>
  <script src="//unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/index.min.js" type="text/javascript"></script>
</body>
</html>

